package com.ambulance.project.biz.service.impl;

import com.ambulance.project.biz.dto.admin.ClassResourceDto;
import com.ambulance.project.biz.entity.Dispatcher;
import com.ambulance.project.biz.mapper.DispatcherMapper;
import com.ambulance.project.biz.mapper.MyCustomerMapper;
import com.ambulance.project.biz.service.DispatcherService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 调度员管理 服务实现类
 * </p>
 *
 * @author zr
 * @since 2020-04-15
 */
@Service
public class DispatcherServiceImpl extends ServiceImpl<DispatcherMapper, Dispatcher> implements DispatcherService {

    @Autowired
    private MyCustomerMapper myCustomerMapper;

    @Override
    public List<ClassResourceDto> listClassResourceDto(Integer status, Integer carStatus) {
        return myCustomerMapper.listClassResourceDto(status,carStatus);
    }
}
